package cz.data.domain.metadata.listener.event;

import cz.data.domain.metadata.model.entity.MetadataSourceEntity;
import org.springframework.context.ApplicationEvent;

public class MetadataExploreEvent extends ApplicationEvent {

    public MetadataExploreEvent(MetadataSourceEntity dataSource) {
        super(dataSource);
    }

    public MetadataSourceEntity getMetadataSource() {
        return (MetadataSourceEntity) super.getSource();
    }
}
